package com.wzh.houseEs.service;

import com.wzh.common.utils.R;
import com.wzh.houseEs.vo.EsVo;
import com.wzh.houseEs.vo.NewHouseVo;
import com.wzh.houseEs.vo.SearchParam;
import com.wzh.houseEs.vo.SearchResultVo;

import java.io.IOException;
import java.util.Map;

/**
 * @author WZH
 * @title: EsService
 * @projectName find_house
 * @description:
 * @date 2022/3/22
 */
public interface EsService {
    SearchResultVo newHouseList(SearchParam searchParam);

    R upNewHouse(NewHouseVo newHouseVo);

    EsVo searchlist(Map<String, Object> params);

    EsVo searchlist2(Map<String, Object> params,Integer user_id) throws IOException;

    R getById1(Integer houseId) throws IOException;
}
